It's not "Genocide"....but inviting them to flee, but cutting off all escape is a war crime.
As defined by the United States Holocaust Memorial Museum (USHMM): Genocide is an internationally recognized crime where acts are committed with the intent to destroy, in whole or in part, a national, ethnic, racial, or religious group.